package cn.ryh.po;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * @ClassName UserDiBySet
 * @Description 用于测试通过Set方法注入
 * @Author RaoYH
 */
public class TestDiBySet {
    private String Name;
    private User user;
    private Integer[] arrary;
    private List<Integer> list;
    private Map<String,User> map;

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Integer[] getArrary() {
        return arrary;
    }

    public void setArrary(Integer[] arrary) {
        this.arrary = arrary;
    }

    public List<Integer> getList() {
        return list;
    }

    public void setList(List<Integer> list) {
        this.list = list;
    }

    public Map<String, User> getMap() {
        return map;
    }

    public void setMap(Map<String, User> map) {
        this.map = map;
    }

    @Override
    public String toString() {
        return "TestDiBySet{" +
                "Name='" + Name + '\'' +
                ", user=" + user +
                ", arrary=" + Arrays.toString(arrary) +
                ", list=" + list +
                ", map=" + map +
                '}';
    }
}
